package com.atyjh.reggie.service;

import com.atyjh.reggie.dto.Result;
import com.atyjh.reggie.dto.SetmealDto;
import com.atyjh.reggie.entity.Setmeal;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author yjh
 * @since jdk1.8.0_311 2022.06.16
 */
public interface ISetMealService extends IService<Setmeal> {
    Result<Page<SetmealDto>> pageMeal(Integer page, Integer pageSize, String name);

    Result<String> saveMeal(SetmealDto setmealDto);

    Result<String> delete(List<Long> ids);

    Result<List<Setmeal>> listDish(Long categoryId, String status);
}
